'use strict';
/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  //文件上传
  router.post('/fileupload', controller.upload.upload);
  router.post('/login', controller.rquser.login);

  router.get('/rquser/list', controller.rquser.list);
  router.post('/rquser/add', controller.rquser.add);
  router.post('/rquser/update', controller.rquser.update);
  router.get('/rquser/delete', controller.rquser.del);
  router.get('/rquser/get', controller.rquser.get);
  $ROUTERCFG$
};
